package com.vizhuo.client.business.match.goods.returncode;

import com.vizhuo.client.base.AbstractReturnCodeConstant;

/**
 * 
 * @ClassName:
 * @Description: 添加货运单号返回码
 * @author xujj
 * @date 2015-7-9 下午1:56:12
 * 
 */
public class AddShipperAndPhotoReturnCode extends AbstractReturnCodeConstant {
    /**
     * 修改货运单和path。name失败(修改条数<1)
     */
    public static final String MODIFY_FAIL = "MODIFY_FAIL";

    // 订单时已取消状态，则直接返回
    public static final String ALREADY_CANCEL = "ALREADY_CANCEL";

    // 已经确认过，则直接返回
    public static final String ALREADY_CONFIRM = "ALREADY_CONFIRM";

    // 订单时非取消状态，则直接返回
    public static final String GOODS_STATE_NORMAL = "GOODS_STATE_NORMAL";

    // 取货按钮点击时判断用车时间，在前60或后60分钟内可进行操作,不在取货时间段不能取货
    public static final String NTO_IN_PICK_PERIOD = "NTO_IN_PICK_PERIOD";

    static {
        messageMap.put(MODIFY_FAIL, "添加货运单号失败，请稍后再试！");

        messageMap.put(ALREADY_CANCEL, "该订单已取消！");

        messageMap.put(GOODS_STATE_NORMAL, "该订单正常，可以填写托运单！");

        messageMap.put(NTO_IN_PICK_PERIOD, "当前时间不能取货，请在用车时间前后1小时内取货！");

    }
}
